package io.mya.modules.sys.service.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import io.mya.modules.sys.dao.SysChargeDao;
import io.mya.modules.sys.entity.SysChargeEntity;
import io.mya.modules.sys.service.SysChargeService;

@Service("sysChargeService")
public class SysChargeServiceIlmpl implements SysChargeService {
	@Autowired
	private SysChargeDao chargeDao;
	@Override
	public void save(SysChargeEntity chargeEntity) {
		// TODO Auto-generated method stub
		chargeDao.save(chargeEntity);
	}

	@Override
	public void update(SysChargeEntity chargeEntity) {
		// TODO Auto-generated method stub
		chargeDao.update(chargeEntity);
	}

	@Override
	public SysChargeEntity queryObject() {
		// TODO Auto-generated method stub
		return chargeDao.queryObjet();
	}
	
}
